<?php



class TblContentMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TblContentMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('taylor');

		$tMap = $this->dbMap->addTable('tbl_content');
		$tMap->setPhpName('TblContent');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('F_ID', 'FId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_STRUCTURE_ID', 'FStructureId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_CONTENT', 'FContent', 'string', CreoleTypes::LONGVARCHAR, true, null);

		$tMap->addColumn('F_STATUS', 'FStatus', 'string', CreoleTypes::VARCHAR, true, 20);

		$tMap->addColumn('F_UPDATED_UID', 'FUpdatedUid', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_UPDATED_DATETIME', 'FUpdatedDatetime', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('F_CREATED_UID', 'FCreatedUid', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('F_CREATED_DATETIME', 'FCreatedDatetime', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('CREATED_ON', 'CreatedOn', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('UPDATED_ON', 'UpdatedOn', 'int', CreoleTypes::TIMESTAMP, true, null);

	} 
} 